package cn.itsource.pet.domain;
import java.util.ArrayList;
import java.util.List;
import cn.itsource.basic.domain.BaseDomain;
import lombok.Data;

/**
 * 实体类：
 */
@Data
public class PetType extends BaseDomain {

    private String name;
    private String description;
    /**
     * 父类型id
     */
    private Long parentId;

    private List<PetType> children = new ArrayList<PetType>();
}
